package com.ruoyi.hotel.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 对象 lyhms_order
 * 
 * @author ruoyi
 * @date 2022-02-28
 */
public class LyhmsOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 订单编号，使用雪花算法，唯一UUID生成 */
    @Excel(name = "订单编号，使用雪花算法，唯一UUID生成")
    private String orderNumber;

    /** 订单名称 */
    @Excel(name = "订单名称")
    private String orderName;

    /** 订单拥有者姓名 */
    @Excel(name = "订单拥有者姓名")
    private String orderOwnerName;

    /** 订单拥有者手机号 */
    @Excel(name = "订单拥有者手机号")
    private String orderOwnerPhone;

    /** 房型名称 */
    @Excel(name = "房型名称")
    private String roomTypeName;

    /** 床型 */
    @Excel(name = "床型")
    private String bedType;

    /** 是否含早餐 */
    @Excel(name = "是否含早餐")
    private String haveBreakfastName;

    /** 房间单价 */
    @Excel(name = "房间单价")
    private String roomPrice;

    /** 预订房间数量 */
    @Excel(name = "预订房间数量")
    private String orderRoomAmount;

    /** 预计到达时间 */
    @Excel(name = "预计到达时间")
    private String expectArriveTime;

    /** 入住时间段 */
    @Excel(name = "入住时间段")
    private String checkInPeriod;

    /** 支付状态；未支付，已支付 */
    @Excel(name = "支付状态；未支付，已支付")
    private String payStatus;

    /** 房间名 */
    @Excel(name = "房间名")
    private String roomName;

    /**
     * 总钱数
     */
    private double totalMoney;

    private String idNumber;

    private String peopleName;

    private List<OrderPeopleInfo> peopleInfos;

    public List<OrderPeopleInfo> getPeopleInfos() {
        return peopleInfos;
    }

    public void setPeopleInfos(List<OrderPeopleInfo> peopleInfos) {
        this.peopleInfos = peopleInfos;
    }

    public double getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(double totalMoney) {
        this.totalMoney = totalMoney;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getPeopleName() {
        return peopleName;
    }

    public void setPeopleName(String peopleName) {
        this.peopleName = peopleName;
    }

    /** 入住状态；未入住，已入住，已退房 */
    @Excel(name = "入住状态；未入住，已入住，已退房")
    private String checkInStatus;
    private long deptId;

    public long getDeptId() {
        return deptId;
    }

    public void setDeptId(long deptId) {
        this.deptId = deptId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNumber(String orderNumber) 
    {
        this.orderNumber = orderNumber;
    }

    public String getOrderNumber() 
    {
        return orderNumber;
    }
    public void setOrderName(String orderName) 
    {
        this.orderName = orderName;
    }

    public String getOrderName() 
    {
        return orderName;
    }
    public void setOrderOwnerName(String orderOwnerName) 
    {
        this.orderOwnerName = orderOwnerName;
    }

    public String getOrderOwnerName() 
    {
        return orderOwnerName;
    }
    public void setOrderOwnerPhone(String orderOwnerPhone) 
    {
        this.orderOwnerPhone = orderOwnerPhone;
    }

    public String getOrderOwnerPhone() 
    {
        return orderOwnerPhone;
    }
    public void setRoomTypeName(String roomTypeName) 
    {
        this.roomTypeName = roomTypeName;
    }

    public String getRoomTypeName() 
    {
        return roomTypeName;
    }
    public void setBedType(String bedType) 
    {
        this.bedType = bedType;
    }

    public String getBedType() 
    {
        return bedType;
    }
    public void setHaveBreakfastName(String haveBreakfastName) 
    {
        this.haveBreakfastName = haveBreakfastName;
    }

    public String getHaveBreakfastName() 
    {
        return haveBreakfastName;
    }
    public void setRoomPrice(String roomPrice) 
    {
        this.roomPrice = roomPrice;
    }

    public String getRoomPrice() 
    {
        return roomPrice;
    }
    public void setOrderRoomAmount(String orderRoomAmount) 
    {
        this.orderRoomAmount = orderRoomAmount;
    }

    public String getOrderRoomAmount() 
    {
        return orderRoomAmount;
    }
    public void setExpectArriveTime(String expectArriveTime) 
    {
        this.expectArriveTime = expectArriveTime;
    }

    public String getExpectArriveTime() 
    {
        return expectArriveTime;
    }
    public void setCheckInPeriod(String checkInPeriod) 
    {
        this.checkInPeriod = checkInPeriod;
    }

    public String getCheckInPeriod() 
    {
        return checkInPeriod;
    }
    public void setPayStatus(String payStatus) 
    {
        this.payStatus = payStatus;
    }

    public String getPayStatus() 
    {
        return payStatus;
    }
    public void setRoomName(String roomName) 
    {
        this.roomName = roomName;
    }

    public String getRoomName() 
    {
        return roomName;
    }
    public void setCheckInStatus(String checkInStatus) 
    {
        this.checkInStatus = checkInStatus;
    }

    public String getCheckInStatus() 
    {
        return checkInStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNumber", getOrderNumber())
            .append("orderName", getOrderName())
            .append("orderOwnerName", getOrderOwnerName())
            .append("orderOwnerPhone", getOrderOwnerPhone())
            .append("roomTypeName", getRoomTypeName())
            .append("bedType", getBedType())
            .append("haveBreakfastName", getHaveBreakfastName())
            .append("roomPrice", getRoomPrice())
            .append("orderRoomAmount", getOrderRoomAmount())
            .append("expectArriveTime", getExpectArriveTime())
            .append("checkInPeriod", getCheckInPeriod())
            .append("createTime", getCreateTime())
            .append("payStatus", getPayStatus())
            .append("roomName", getRoomName())
            .append("checkInStatus", getCheckInStatus())
            .toString();
    }
}
